<div class="p-3 mb-3 nav-tabs-custom">

    <div class="row"  style="margin-left: 2%">
        <div class="col-12">
            <h4>用户信息</h4>
        </div>
    </div>
    <hr class="row" >
    <div class="row invoice-info" style="margin-left: 2%">
        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>用户id：</strong>{{$user_data['id']}}</p>
                <p><strong>头像：</strong><a href="{{$user_data['avatar']}}" class="grid-popup-link">
                    <img src="{{$user_data['avatar']}}" style="max-width:30px;max-height:30px" class="img img-thumbnail">
                </a></p>
            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>手机号：</strong>{{$user_data['phone']}}</p>
                <p><strong>注册时间：</strong>{{$user_data['created_at']}}</p>
            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>昵称：</strong>{{$user_data['nickname']}}</p>
                <p><strong>状态：</strong>{{empty($user_data['status'])?"禁用":"启用"}}</p>

            </address>
        </div>

    </div >

    <hr class="row">
    <div class="row" style="margin-left:5px">
        <div class="col-12 table-responsive">
            <table class="table table-striped">
                <thead>
                    <tr >
                        <th>联系人</th>
                        <th>联系人电话</th>
                        <th>楼梯类型</th>
                        <th>楼层</th>
                        <th>定位地址</th>
                        <th>详细地址</th>
                        <th>门牌号</th>
                        <th>是否默认</th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach($address_list as $key=>$val){ ?>
                    <tr>
                        <td>{{$val['name']}}</td>
                        <td>{{$val['mobile']}}</td>
                        <td>{{$val['stair_type']==1?"电梯":"步梯"}}</td>
                        <td>{{$val['floor']}}</td>
                        <td>{{$val['locating_address']}}</td>
                        <td>{{$val['address']}}</td>
                        <td>{{$val['house_number']}}</td>
                        <td>{{$val['is_default']==1?"是":"否"}}</td>
                    </tr>
                <?php }?>
                </tbody>
            </table>
        </div>

    </div>

</div>